<?php
class user_data extends data 
{
	public function __construct()
	{
		parent::__construct();
		
	}
	
	public function getUser()
	{
		
	}
	
	public function setUser()
	{
		
	}
	
	public function getUserList()
	{
		$this->query("SELECT u.username, p.name, u.lastactivity FROM user as u, profile as p WHERE u.profileid = p.profileid");
		if($this->num_rows())
			return $this->fetch_all_row();
		else
			return null;
	}
	
	public function deleteUser()
	{
		
	}
}
?>